package yt.demo.appcoresystem.service;

import yt.demo.appcommondb.base.IBaseService;
import yt.demo.appcoresystem.entity.SystemUser;
import yt.demo.appcoresystem.entity.SystemUserRole;

import java.util.List;

public interface ISystemUserRoleService extends IBaseService<SystemUserRole> {

    void syncRole(Long userId, List<Long> roleIds);

    void belongsToRole(List<Long> userIds, List<SystemUser> list);

    List<Long> getUserRoleIds(Long userId);


}
